Waiting for debugger to connect...
Program started.
Call B4XPages.GetManager.LogEvents = True to enable logging B4XPages events.
Unexpected event (missing RaiseSynchronousEvents): mainform_focuschanged
java.lang.Exception: Stack trace
	at java.base/java.lang.Thread.dumpStack(Thread.java:1387)
	at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:199)
	at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:167)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at anywheresoftware.b4a.BA.raiseEvent2(BA.java:108)
	at anywheresoftware.b4a.shell.ShellBA.raiseEvent2(ShellBA.java:98)
	at anywheresoftware.b4a.BA$1.run(BA.java:233)
	at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:428)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:427)
	at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
	at javafx.graphics/com.sun.glass.ui.win.WinApplication._enterNestedEventLoopImpl(Native Method)
	at javafx.graphics/com.sun.glass.ui.win.WinApplication._enterNestedEventLoop(WinApplication.java:201)
	at javafx.graphics/com.sun.glass.ui.Application.enterNestedEventLoop(Application.java:509)
	at javafx.graphics/com.sun.glass.ui.EventLoop.enter(EventLoop.java:107)
	at javafx.graphics/com.sun.javafx.tk.quantum.QuantumToolkit.enterNestedEventLoop(QuantumToolkit.java:591)
	at javafx.graphics/com.sun.prism.j2d.print.J2DPrinterJob.showPageDialogFromNestedLoop(J2DPrinterJob.java:316)
	at javafx.graphics/com.sun.prism.j2d.print.J2DPrinterJob.showPageDialog(J2DPrinterJob.java:285)
	at javafx.graphics/javafx.print.PrinterJob.showPageSetupDialog(PrinterJob.java:344)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at anywheresoftware.b4j.object.JavaObject.RunMethod(JavaObject.java:132)
	at b4j.example.printerjob._showpagesetupdialog(printerjob.java:145)
	at b4j.example.b4xmainpage._doprint(b4xmainpage.java:96)
	at b4j.example.b4xmainpage._button1_click(b4xmainpage.java:73)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:632)
	at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:234)
	at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:167)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at anywheresoftware.b4a.BA.raiseEvent2(BA.java:108)
	at anywheresoftware.b4a.shell.ShellBA.raiseEvent2(ShellBA.java:98)
	at anywheresoftware.b4a.BA$1.run(BA.java:233)
	at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:428)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:427)
	at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
	at javafx.graphics/com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
	at javafx.graphics/com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:174)
	at java.base/java.lang.Thread.run(Thread.java:834)
Error occurred on line: 430 (B4XPagesManager)
java.lang.NullPointerException
	at b4j.example.b4xpagesmanager._mainform_focuschanged(b4xpagesmanager.java:554)
	at b4j.example.b4xpagesdelegator._mainform_focuschanged(b4xpagesdelegator.java:78)
	at b4j.example.main._mainform_focuschanged(main.java:127)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:632)
	at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:234)
	at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:167)
	at anywheresoftware.b4a.shell.Shell$1.run(Shell.java:206)
	at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:428)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:427)
	at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
	at javafx.graphics/com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
	at javafx.graphics/com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:174)
	at java.base/java.lang.Thread.run(Thread.java:834)
Error occurred on line: 430 (B4XPagesManager)
java.lang.NullPointerException
	at anywheresoftware.b4a.shell.Shell.runGoodChain(Shell.java:373)
	at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:181)
	at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:167)
	at anywheresoftware.b4a.shell.Shell$1.run(Shell.java:206)
	at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:428)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:427)
	at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
	at javafx.graphics/com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
	at javafx.graphics/com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:174)
	at java.base/java.lang.Thread.run(Thread.java:834)
java.lang.RuntimeException: java.io.EOFException
	at anywheresoftware.b4a.shell.Shell$1.run(Shell.java:208)
	at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:428)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:427)
	at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
	at javafx.graphics/com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
	at javafx.graphics/com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:174)
	at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.io.EOFException
	at java.base/java.io.DataInputStream.readByte(DataInputStream.java:272)
	at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:229)
	at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:167)
	at anywheresoftware.b4a.shell.Shell$1.run(Shell.java:206)
	... 7 more
java.lang.RuntimeException: java.net.SocketException: Socket closed
	at anywheresoftware.b4a.shell.Shell$1.run(Shell.java:208)
	at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:428)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:427)
	at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
	at javafx.graphics/com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
	at javafx.graphics/com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:174)
	at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.net.SocketException: Socket closed
	at java.base/java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:113)
	at java.base/java.net.SocketOutputStream.write(SocketOutputStream.java:150)
	at java.base/java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:81)
	at java.base/java.io.BufferedOutputStream.flush(BufferedOutputStream.java:142)
	at anywheresoftware.b4a.shell.ShellConnector.sendControlMessage(ShellConnector.java:55)
	at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:189)
	at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:167)
	at anywheresoftware.b4a.shell.Shell$1.run(Shell.java:206)
	... 7 more
